/*
 * @Author: 朱安武 549410045@qq.com
 * @Date: 2023-01-11 10:45:18
 * @LastEditors: 朱安武 549410045@qq.com
 * @LastEditTime: 2023-02-03 11:00:51
 * @FilePath: \mobile\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
//引入组件
import vant from 'vant'
//引入样式
import 'vant/lib/index.css'
//引入router
import { router } from './router'
//引入pinia
import { createPinia } from 'pinia'
//图片懒加载
import { Lazyload } from 'vant'

import App from './App.vue'

import 'amfe-flexible';
import 'reset-css'

const app = createApp(App)

//注册
app.use(vant)
//注册路由
app.use(router)
//注册pinia
const pinia = createPinia()
app.use(pinia)
//注册懒加载
app.use(Lazyload)

app.mount('#app')
